From: cl349@firebug.cl.cam.ac.uk Date: Wed, 14 Sep 2005 12:49:13 +0000 (+0000) Subject: Call dominfo.device_delete instead of non-existant dominfo.device_destroy. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~16806^2~18 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=714ecf5c5b2a3fc3099ce63db28b18a0cba30c84;p=xen.git Call dominfo.device_delete instead of non-existant dominfo.device_destroy. Signed-off-by: Sean Dague Signed-off-by: Christian Limpach --- diff --git a/tools/python/xen/xend/XendDomain.py b/tools/python/xen/xend/XendDomain.py index 10917e2ab0..9ee5cb57fa 100644 --- a/tools/python/xen/xend/XendDomain.py +++ b/tools/python/xen/xend/XendDomain.py @@ -673,7 +673,7 @@ class XendDomain: @param type: device type """ dominfo = self.domain_lookup(id) - val = dominfo.device_destroy(type, devid) + val = dominfo.device_delete(type, devid) dominfo.exportToDB() return val